package com.party.mem.web.sqlplugins;

import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.SqlSource;

/**
 * @program: party
 * @description:
 * @author: Hua Qunhao
 * @create: 2020-01-09 17:40
 **/
public class AuthSqlSource implements SqlSource {

    private BoundSql boundSql;

    public AuthSqlSource(BoundSql boundSql) {
        this.boundSql = boundSql;
    }

    @Override
    public BoundSql getBoundSql(Object o) {
        return boundSql;
    }
}
